#ifndef STATEMANAGER_H
#define STATEMANAGER_H

#include "SFML/Graphics.hpp"

class GameState;

class GameStateManager
{
public:
	GameStateManager(GameState *state,sf::RenderWindow* window);
	~GameStateManager();

	void changeState(GameState *state);
	void pushState(GameState *state);
	void popState();
	void quit();

	void update();
    void draw();

private:
	sf::RenderWindow* window;
	bool m_quit;
	std::vector<GameState*> states;
};

#endif